﻿using KinonekoSoftware.Foundation;

namespace KinonekoSoftware.Foundation.UI.ViewModels
{
    public abstract class PageViewModel  : ViewModelBase, IPageRoot
    {
        
        protected sealed override void OnReceive(object parameter)
        {
            var dc = (PageContext)parameter;
            OnReceive(dc);
        }

        protected virtual void OnReceive(PageContext context)
        {
            
        }
    }
}